<section class="wrapper">
    <div class="row">
        <div class="col-lg-12">
            <section class="panel">
                <header class="panel-heading">
                    Novo Produto
                </header>
                <div class="panel-body">
                    <div class="form">
<!--                        <form class="form-validate form-horizontal" id="feedback_form" method="get" action="" novalidate="novalidate">-->
                            <?php echo $this->Form->create('Product', array('type'=>'post','class'=>'form-validate form-horizontal')); ?>
                            <div class="form-group ">
                                <label for="cname" class="control-label col-lg-2">Nome do produto<span class="required">*</span></label>
                                <div class="col-lg-10">
                                    <?php echo $this->Form->input('name',array('label' => false, 'class'=>'form-control', 'div'=>false));?>
                                </div>
                            </div>
                            <div class="form-group ">
                                <label for="cname" class="control-label col-lg-2">Setor<span class="required">*</span></label>
                                <div class="col-lg-10">
                                    <?php echo $this->Form->input('field',array('label' => false, 'class'=>'form-control', 'div'=>false));?>
                                </div>
                            </div>
                            <div class="form-group ">
                                <label for="cname" class="control-label col-lg-2">Preço<span class="required">*</span></label>
                                <div class="col-lg-10">
                                    <?php echo $this->Form->input('price',array('label' => false, 'class'=>'form-control', 'div'=>false));?>
                                </div>
                            </div>
                            <div class="form-group ">
                                <label for="cname" class="control-label col-lg-2">Descrição<span class="required">*</span></label>
                                <div class="col-lg-10">
                                    <?php echo $this->Form->input('description',array('label' => false, 'class'=>'form-control', 'div'=>false));?>
                                </div>
                            </div>
                            <div class="form-group ">
                                <label for="cname" class="control-label col-lg-2">Dias necessários<span class="required">*</span></label>
                                <div class="col-lg-10">
                                    <?php echo $this->Form->input('time',array('type'=>'text', 'label' => false, 'class'=>'form-control', 'div'=>false));?>
                                </div>
                            </div>
                            <div class="form-group ">
                                <label for="cname" class="control-label col-lg-2">Status<span class="required">*</span></label>
                                <div class="col-lg-10">
                                    <?php echo $this->Form->input('status',array('label' => false, 'class'=>'form-control', 'div'=>false));?>
                                </div>
                            </div>
                            
                            <div class="form-group">
                                <div class="col-lg-offset-2 col-lg-10">
                                    <?php // echo $this->Form->end("Salvar", array("class"=>"btn btn-primary"));?>
                                    <?php echo $this->Form->button('Submit Form', array('type' => 'submit',  "class" => "btn btn-primary")); ?>
                                    <button class="btn btn-default" type="button">Cancel</button>
                                </div>
                            </div>
                        </form>
                    </div>

                </div>
            </section>
        </div>
    </div>
</section>